/**
 * 轮播图
 */
define([], function() {
	var defaultConfigs = {
		pagination: '.swiper-pagination',
		paginationClickable: true,
		spaceBetween: 30,
		centeredSlides: true,
		autoplay: 3000,
		autoplayDisableOnInteraction: false
	};
	var swiper = function(confings) {
		configs = avalon.mix(defaultConfigs, configs);
		new Swiper('.swiper-container', confings);
	}
	return swiper;
})